Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify get_apps to return a more meaningful dictionary. #40

Conversation

bfayers
Copy link
Contributor

@bfayers bfayers commented Jun 6, 2020

Instead of returning the raw response from the TV return a dictionary of appname : appid.

These can then be used like this: launch_app(get_apps()['Amazon Prime Video']

This will help with the home assistant integration as it will allow for app launching via the source selector.

@florianholzapfel
Copy link
Owner

Thank you!

@florianholzapfel florianholzapfel merged commit 0d8a5c1 into florianholzapfel:master Jun 7, 2020
@bfayers bfayers deleted the retrieve_appslist_meaningful branch June 15, 2020 09:00
@bfayers bfayers restored the retrieve_appslist_meaningful branch August 13, 2020 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants